export const diagramXML =
  `
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/processdef">
  <process id="maat_first_process" isExecutable="true">
    <startEvent id="sid-4731187D-9EC0-4147-BBF9-88CE5D68F559"></startEvent>
    <userTask id="sid-40E5CD27-7BF2-4CB4-A0C7-9C0C63E6CFE6" name="提交申请" activiti:assignee="user1"></userTask>
    <sequenceFlow id="sid-C9EE9C1B-48AA-4A03-899F-136CBCB77BA7" sourceRef="sid-4731187D-9EC0-4147-BBF9-88CE5D68F559" targetRef="sid-40E5CD27-7BF2-4CB4-A0C7-9C0C63E6CFE6"></sequenceFlow>
    <userTask id="sid-8C988954-FB8A-4269-8402-0ED5E6FA0B3D" name="组长审批" activiti:assignee="user2"></userTask>` +
  '<userTask id="sid-7C0EEAB1-A5B4-40D8-A1DF-595903A96FBD" name="投资经理审批" activiti:assignee="${per}">' +
  '<multiInstanceLoopCharacteristics isSequential="true" activiti:collection="${role7bc6023ad89b406e89134485cf680922}" activiti:elementVariable="per"></multiInstanceLoopCharacteristics>' +
  `</userTask>
    <exclusiveGateway id="sid-7BF3B0DC-75AE-4E91-A019-D9DC6A865FBD"></exclusiveGateway>
    <sequenceFlow id="sid-56B91CC1-A9F9-4602-B49A-9929BB6EAC64" sourceRef="sid-8C988954-FB8A-4269-8402-0ED5E6FA0B3D" targetRef="sid-7BF3B0DC-75AE-4E91-A019-D9DC6A865FBD"></sequenceFlow>
    <sequenceFlow id="sid-A469F30D-5553-420D-8083-79282578FEEF" sourceRef="sid-40E5CD27-7BF2-4CB4-A0C7-9C0C63E6CFE6" targetRef="sid-8C988954-FB8A-4269-8402-0ED5E6FA0B3D"></sequenceFlow>
    <sequenceFlow id="sid-F42D753B-CCBC-450C-A1EE-442FD8C53C56" sourceRef="sid-7BF3B0DC-75AE-4E91-A019-D9DC6A865FBD" targetRef="sid-40E5CD27-7BF2-4CB4-A0C7-9C0C63E6CFE6">` +
  '<conditionExpression xsi:type="tFormalExpression"><![CDATA[${approvalResult  == "N"}]]></conditionExpression>' +
  `</sequenceFlow>
    <sequenceFlow id="sid-D0A61671-6964-4406-ABD4-45C85B95B0F7" sourceRef="sid-7BF3B0DC-75AE-4E91-A019-D9DC6A865FBD" targetRef="sid-7C0EEAB1-A5B4-40D8-A1DF-595903A96FBD">` +
  '<conditionExpression xsi:type="tFormalExpression"><![CDATA[${approvalResult  == "Y"}]]></conditionExpression>' +
  `</sequenceFlow>
    <endEvent id="sid-1C6D0285-644B-4C24-89EE-03371576E3F0"></endEvent>
    <sequenceFlow id="sid-D8CDBAFC-A2F9-455D-BB18-C82508AF671A" sourceRef="sid-7C0EEAB1-A5B4-40D8-A1DF-595903A96FBD" targetRef="sid-1C6D0285-644B-4C24-89EE-03371576E3F0">` +
  '<conditionExpression xsi:type="tFormalExpression"><![CDATA[${approvalResult  == "Y"}]]></conditionExpression>' +
  `</sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_maat_first_process">
    <bpmndi:BPMNPlane bpmnElement="maat_first_process" id="BPMNPlane_maat_first_process">
      <bpmndi:BPMNShape bpmnElement="sid-4731187D-9EC0-4147-BBF9-88CE5D68F559" id="BPMNShape_sid-4731187D-9EC0-4147-BBF9-88CE5D68F559">
        <omgdc:Bounds height="30.0" width="30.0" x="0.0" y="315.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-40E5CD27-7BF2-4CB4-A0C7-9C0C63E6CFE6" id="BPMNShape_sid-40E5CD27-7BF2-4CB4-A0C7-9C0C63E6CFE6">
        <omgdc:Bounds height="80.0" width="100.0" x="135.0" y="285.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8C988954-FB8A-4269-8402-0ED5E6FA0B3D" id="BPMNShape_sid-8C988954-FB8A-4269-8402-0ED5E6FA0B3D">
        <omgdc:Bounds height="80.0" width="100.0" x="345.0" y="165.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7C0EEAB1-A5B4-40D8-A1DF-595903A96FBD" id="BPMNShape_sid-7C0EEAB1-A5B4-40D8-A1DF-595903A96FBD">
        <omgdc:Bounds height="80.0" width="100.0" x="675.0" y="285.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7BF3B0DC-75AE-4E91-A019-D9DC6A865FBD" id="BPMNShape_sid-7BF3B0DC-75AE-4E91-A019-D9DC6A865FBD">
        <omgdc:Bounds height="40.0" width="40.0" x="525.0" y="310.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-1C6D0285-644B-4C24-89EE-03371576E3F0" id="BPMNShape_sid-1C6D0285-644B-4C24-89EE-03371576E3F0">
        <omgdc:Bounds height="28.0" width="28.0" x="930.0" y="316.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-A469F30D-5553-420D-8083-79282578FEEF" id="BPMNEdge_sid-A469F30D-5553-420D-8083-79282578FEEF">
        <omgdi:waypoint x="185.0" y="285.0"></omgdi:waypoint>
        <omgdi:waypoint x="185.0" y="205.0"></omgdi:waypoint>
        <omgdi:waypoint x="345.0" y="205.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-F42D753B-CCBC-450C-A1EE-442FD8C53C56" id="BPMNEdge_sid-F42D753B-CCBC-450C-A1EE-442FD8C53C56">
        <omgdi:waypoint x="525.5" y="330.5"></omgdi:waypoint>
        <omgdi:waypoint x="380.0" y="330.5"></omgdi:waypoint>
        <omgdi:waypoint x="380.0" y="325.0"></omgdi:waypoint>
        <omgdi:waypoint x="235.0" y="325.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-C9EE9C1B-48AA-4A03-899F-136CBCB77BA7" id="BPMNEdge_sid-C9EE9C1B-48AA-4A03-899F-136CBCB77BA7">
        <omgdi:waypoint x="30.0" y="330.0"></omgdi:waypoint>
        <omgdi:waypoint x="82.5" y="330.0"></omgdi:waypoint>
        <omgdi:waypoint x="82.5" y="325.0"></omgdi:waypoint>
        <omgdi:waypoint x="135.0" y="325.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-D8CDBAFC-A2F9-455D-BB18-C82508AF671A" id="BPMNEdge_sid-D8CDBAFC-A2F9-455D-BB18-C82508AF671A">
        <omgdi:waypoint x="775.0" y="325.0"></omgdi:waypoint>
        <omgdi:waypoint x="852.5" y="325.0"></omgdi:waypoint>
        <omgdi:waypoint x="852.5" y="330.0"></omgdi:waypoint>
        <omgdi:waypoint x="930.0" y="330.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-D0A61671-6964-4406-ABD4-45C85B95B0F7" id="BPMNEdge_sid-D0A61671-6964-4406-ABD4-45C85B95B0F7">
        <omgdi:waypoint x="564.5" y="330.5"></omgdi:waypoint>
        <omgdi:waypoint x="620.0" y="330.5"></omgdi:waypoint>
        <omgdi:waypoint x="620.0" y="325.0"></omgdi:waypoint>
        <omgdi:waypoint x="675.0" y="325.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-56B91CC1-A9F9-4602-B49A-9929BB6EAC64" id="BPMNEdge_sid-56B91CC1-A9F9-4602-B49A-9929BB6EAC64">
        <omgdi:waypoint x="445.0" y="205.0"></omgdi:waypoint>
        <omgdi:waypoint x="545.5" y="205.0"></omgdi:waypoint>
        <omgdi:waypoint x="545.5" y="310.5"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>
`;
